<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在这儿找到你刚兴趣的人儿</title>
<link href="css/account.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="iecss.css" />
<![endif]-->
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/home.js"></script>
<script type="text/javascript" src="js/find.js"></script>

<script type="text/javascript">	
$(function(){
var $div_li =$("ul.left_menu li");
$div_li.click(function(){
		$(this).addClass("selected")            //当前<li>元素高亮
		.siblings().removeClass("selected");  //去掉其它同辈<li>元素的高亮
	}).hover(function(){
		$(this).addClass("hover");
		},function(){
	$(this).removeClass("hover");
});

	/*保存按钮改变样式*/
	$("#save_button").mouseover(function(){
		$("#save_button").attr("src","button/save.png");
		});
	$("#save_button").mouseout(function(){
		$("#save_button").attr("src","button/save1.png");
		});
	/****************/
})
</script>
</head>
<body onload="startdate(),startTime()">

<?php
include_once 'msg_redirect.php';	/*通过使用cookie，当检查出未登陆，则不予进入home.php，返回index.php*/
if($_COOKIE['TTU'] != "logined"){
	msg_redirect("您还未登录哦！", "index.php");
}?>

<div id="main_container">

	<div id="header" >

       <div class="top_right">
       
            <div class="weather">
              <div class="weather_text" id="date"></div>
              <div class="weather_text" id="time"></div>
              <div class="weather_img">
              <a href="#"><img src="image/w_cloudy.png" border="0" width="60" height="60"/></a></div>
            </div>
            
            <div class="big_banner">
            <a href="#"><img src="image/life.jpg" border="0" width="180" height="100"/></a>
            <a href="#"><img src="image/love.jpg"  border="0" width="180" height="100"/></a>
            <a href="#"><img src="image/reading.jpg" border="0" width="180" height="100"/></a>
         </div>
        
        </div>
    
  
        <div id="logo">
            <a href="index.html"><img src="image/logo.png" alt="" title="" border="0" width="240" height="125" /></a>
	    </div>
        

        

    </div>
    
   <div id="main_content"> 
   
            <div id="menu_tab">
                    <ul id="menu">
                    	<li><a href="home.php">首 页</a></li>
                        <li><a href="#">热 门  <img src="image/more.png" /></a>
                         	<ul>
        						<li><a href="hotpeople.php">微博达人</a></li>
        						<li><a href="hotweibo.php">热门微博</a></li>
      						</ul>
                      </li>
                         <li><a href="#">应 用 <img src="image/more.png" /></a>
                         	<ul>
        						<li><a href="photo.php">相册</a></li>
        						<li><a href="collection.php">收藏</a></li>
                                <li><a href="find.php">找人</a></li>
        						<li><a href="#">我的课表</a></li>
        						<li><a href="#">公文通</a></li>
      						</ul>
                         </li>                                                   
                         <li><a href="my_weibo.php">我的主页</a></li>

                         <li><a href="#">消 息  <img src="image/more.png" /></a>
                         	<ul>
        						<li><a href="comment.php">查看评论</a></li>
        						<li><a href="cencerns_from.php">查看粉丝</a></li>
        						<li><a href="my_concerns.php">查看关注</a></li>
      						</ul>
                         </li>                     
                         <li><a href="#">帐 号  <img src="image/more.png" /></a>
                         	<ul>
        						<li><a href="account_info">帐号设置</a></li>
        						<li><a href="logout.php">注销</a></li>
      						</ul>
                         </li>
                         
                    </ul>

            </div><!-- end of menu tab -->
            
    
    <div class="left_content">
     <div class="title_box">关注/粉丝</div>
     	<ul class="left_menu">
     	<li><a href="my_concerns.php">关注(<?php
                           /*显示关注数量*/
                           include_once("sql_connect.php");
                           include_once("msg_redirect.php");
  
                            $u_no = $_COOKIE['u_no'];
    						$show_sql = mysql_query("select max(c_num) from concerns where u_no='$u_no'",$connection);
    						$show_result = mysql_fetch_array($show_sql);
    						$my_data = $show_result[0];   						
    						echo "$my_data";
    						  ?>)</a></li>
        <span class="border_m"></span>
        <li><a href="cencerns_from.php">粉丝(<?php
                           /*显示粉丝数量*/
                           include_once("sql_connect.php");
                           include_once("msg_redirect.php");
  
                            $u_no = $_COOKIE['u_no'];
    						$show_sql = mysql_query("select max(f_num) from concerns where c_no='$u_no'",$connection);
    						$show_result = mysql_fetch_array($show_sql);
    						$my_data = $show_result[0];   						
    						echo "$my_data";
    						  ?>)</a></li>
        <span class="border_m"></span>
        <li class="selected"><a href="find.php">找人</a></li>
        </ul>  
        
    
   </div><!-- end of left content --> 



   <div class="center_content">
	  <div class="center_title">找人</div>
      <span class="border_cen"></span>
      
      <div id="find_content"> 
      <div class="find_title">按昵称找人</div>
      <div class="find_tips">这里输入朋友昵称，如：小新</div>
      <div id="find_nickname" class="find_inputbox">
        <input type="text" name="nickname_find" class="find_input"/>
        <input name="nickname_submit" class="find_submit"  type="button" value="  查找  " />
      </div>
      
      <div class="find_title">按真实姓名找人</div>
      <div class="find_tips">这里输入朋友姓名，如：张三</div>
      <div id="find_realname" class="find_inputbox">
        <input type="text" name="nickname_find" class="find_input"/>
        <input name="nickname_submit" class="find_submit"  type="button" value="  查找  " />
      </div>
      
      <div class="find_title">按邮箱找人</div>
      <div class="find_tips">这里输入朋友邮箱，如：msn@hotmail.com</div>
      <div id="find_email" class="find_inputbox">
        <input type="text" name="nickname_find" class="find_input"/>
        <input name="nickname_submit" class="find_submit"  type="button" value="  查找  " />
      </div>
      
      <div class="find_title">按学院找人</div>
      <div class="find_tips">这里输入朋友的学院，如：管理学院</div>
      <div id="find_dept" class="find_inputbox">
        <input type="text" name="nickname_find" class="find_input"/>
        <input name="nickname_submit" class="find_submit"  type="button" value="  查找  " />
      </div>
	  </div>
   	
   </div><!-- end of center content -->

   
   </div><!-- end of main content -->
   
   
   
   <div class="footer">深圳大学计算机与软件学院@毕业设计项目网站<br />指导老师：王华明<br />项目负责：陈作鑫<br />
    小组成员：陈作鑫&nbsp;&nbsp;陈志杰&nbsp;&nbsp;赖晓东
  </div>                 


</div>
<!-- end of main_container -->
</body>
</html>